from pprint import pprint


class HtmlDocument:
    version = 5
    extension = 'html'


pprint(type(HtmlDocument.__dict__))